<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>

    <t:base type="default"></t:base>
    <t:base type="default,select2,jqgrid"></t:base>
    <style type="text/css">
        *{
            margin:0px;
            padding:0px;
            border:0px;
        }
        #demo{font-size:17px}
        #demo{
            overflow:hidden;
            height:35px;
            width:480px;
            margin:20px auto;
            position:relative;
        }
        #demo1{
            height:auto;
            text-align:left;
        }
        #demo2{
            height:auto;
            text-align:left;
        }
        #demo1 li{
            list-style-type:none;
            height:35px;
            text-align:left;
            text-indent:15px;
        }
        #demo2 li{
            list-style-type:none;
            height:35px;
            text-align:left;
            text-indent:15px;
        }
    </style>
</head>

<script type="text/javascript">
    var speed=100
    window.onload=function(){
        var demo=document.getElementById("demo");
        var demo2=document.getElementById("demo2");
        var demo1=document.getElementById("demo1");
        demo2.innerHTML=demo1.innerHTML
        function Marquee(){
            if(demo.scrollTop>=demo1.offsetHeight){
                demo.scrollTop=0;
            }
            else{
                demo.scrollTop=demo.scrollTop+1;
            }
        }
        var MyMar=setInterval(Marquee,speed)
        demo.onmouseover=function(){clearInterval(MyMar)}
        demo.onmouseout=function(){MyMar=setInterval(Marquee,speed)}
    }
</script>
<body class="gray-bg">
<div id="demo">
    <ul id="demo1">
        <li><a href="#" target="_blank">脚本之家欢迎您的到来</a></li>
        <li><a href="#" target="_blank">只有努力才会有美好的明天</a></li>
        <li><a href="#" target="_blank">没有人一开始就是高手，都是从菜鸟开始</a></li>
        <li><a href="#" target="_blank">每一天都是新的需要好好珍惜</a></li>
        <li><a href="#" target="_blank">怨天尤人是没有任何作用的</a></li>
        <li><a href="#" target="_blank">今天你写代码了吗</a></li>
        <li><a href="#" target="_blank">分享的胸怀和互助的精神最终成就了你</a></li>
    </ul>
    <div id="demo2"></div>
</div>
<div class="row">

</div>
<!-- 页面部分 -->
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="row">
                <div class="col-sm-12" id="searchGroupId">
                </div>
            </div>
            <div class="ibox">
                <div class="ibox-content">
                    <div id="jqGrid_wrapper" class="jqGrid_wrapper"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 脚本部分 -->
<t:datagrid actionUrl="sys/user/datagrid" tableContentId="jqGrid_wrapper" searchGroupId="searchGroupId" fit="true" caption="通讯录" name="table_list_2" pageSize="20" sortName="createDate" sortOrder="desc">
    <t:dgCol name="id" label="编号" hidden="true" key="true" width="20"></t:dgCol>
    <t:dgCol name="userName" label="用户名" width="90" query="true"></t:dgCol>
    <t:dgCol name="realName" label="真实姓名" width="90" query="true"></t:dgCol>
    <t:dgCol name="admin" label="是否管理员" dictionary="byesorno" query="true"></t:dgCol>
    <t:dgCol name="deptId" label="部门" replace="${departsReplace}" query="true" common="depart" queryId="deptId" valueId="deptId"></t:dgCol>
    <t:dgCol name="telNo" label="手机号" width="90" query="true"></t:dgCol>

</t:datagrid>
</div>
</body>


</html>

